package udp.message;

public class ReserveBookInterMessage extends LibraryMessage {
	
	static final long serialVersionUID = 16L;
	
	private String authorName;
	private String bookName;
	private String username;
	private String password;
	private String result;
	private String ei;
	private String replicaId;
	
	public ReserveBookInterMessage(String username, String password,
			String bookName, String authorName,String ei){
		super(LibraryMessageTypeEnum.RESERVE_BOOK_INTER);
		this.authorName = authorName;
		this.bookName = bookName;
		this.username = username;
		this.password =password;
		this.result = "false";
		this.ei=ei;
		this.replicaId ="";
	}

	
	public String getReplicaId() {
		return replicaId;
	}


	public void setReplicaId(String replicaId) {
		this.replicaId = replicaId;
	}


	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getEi() {
		return ei;
	}

	public void setEi(String ei) {
		this.ei = ei;
	}
	

}
